package DAO;

import java.sql.SQLException;
import java.util.ArrayList;

import Model.HolidayBean;

public interface HolidayDAO {
public ArrayList<HolidayBean>findAllHoliday()throws SQLException, ClassNotFoundException;

public void addHoliday(HolidayBean inHoliday)throws SQLException, ClassNotFoundException;

public void updateHoliday(HolidayBean inHoliday)throws SQLException, ClassNotFoundException;

public HolidayBean findByHolidayID(int input)throws SQLException, ClassNotFoundException;

public void deleteHoliday(int inHolidayID)throws SQLException, ClassNotFoundException;
 
public void deleteHoliday(HolidayBean inHoliday)throws SQLException, ClassNotFoundException;

public int findNextHoliday()throws SQLException, ClassNotFoundException;

}
